<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script language="javascript" type="text/javascript" src="<%=path%>/js/jquery-1.9.1.min.js"/></script>
<script>
	function check(){
		if($.trim($('#name').val())==''){
			alert('请输入举报人姓名')
			return false;
		}else if($.trim($('#phonenumber').val())==''){
			alert('请输入联系电话')
			return false;
		}else if($.trim($('#topic').val())==''){
			alert('请输入主题')
			return false;
		}else if($.trim($('#message').val())==''){
			alert('请输入内容')
			return false;
		}
		return true;
	}
	var msg="${requestScope.rMsg}";
	if(msg!=""){
		alert(msg);
	}
</script>
<title>Insert title here</title>
<link href="<%=path %>/images/css.css" rel="stylesheet" type="text/css">
</head>

<body class="bg_003">
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="201" height="30" align="center" background="<%=path %>/images/016.jpg"><table width="75%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="25"><img src="<%=path %>/images/1.png" width="16" height="16"></td>
        <td><strong>举报受理</strong></td>
      </tr>
    </table></td>
    <td align="right" background="<%=path %>/images/017.jpg" class="zi_006">举报受理</td>
    <td width="39"><img src="<%=path %>/images/018.jpg" width="39" height="30"></td>
  </tr>
</table>
<form id="addForm" name="addForm" action="<%=path %>/report/addreport.action" enctype="multipart/form-data" method="post">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="1" bgcolor="#e1e1e2"></td>
        <td height="298" align="center">
        <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#e1e1e1">
          <tr>
            <td width="10%" height="31" align="right" bgcolor="#f5f5f5"><font color='red'>*</font>姓名：</td>
            <td width="22%" height="31" align="left" bgcolor="#f5f5f5">
            <input name="reportVo.name" type="text" id="name" size="30" maxlength="5">
            </td>
            <td width="12%" height="31" align="right" bgcolor="#f5f5f5"><font color='red'>*</font>联系电话：</td>
            <td width="20%" height="31" align="left" bgcolor="#f5f5f5">
            <input name="reportVo.phonenumber" type="text" id="phonenumber" size="30">
            </td>
            <td width="10%" height="31" align="right" bgcolor="#f5f5f5">电子邮箱：</td>
            <td width="22%" height="31" align="left" bgcolor="#f5f5f5">
            <input name="reportVo.email" type="text" id="email" size="30">
            </td>
          </tr>
           <tr>
            <td width="10%" height="31" align="right" bgcolor="#f5f5f5"><font color='red'>*</font>车辆号牌：</td>
            <td width="22%" height="31" align="left" bgcolor="#f5f5f5">
            <input name="reportVo.platenumber" type="text" id="platenumber" size="30">
            </td>
            <td width="12%" height="31" align="right" bgcolor="#f5f5f5"><font color='red'>*</font>号牌种类：</td>
            <td width="20%" height="31" align="left" bgcolor="#f5f5f5">
            <input name="reportVo.platetype" type="text" id="platetype" size="30">
            </td>
            <td width="10%" height="31" align="right" bgcolor="#f5f5f5" colspan="2">
            </td>
          </tr>
          <tr>
            <td width="10%" height="31" align="right" bgcolor="#f5f5f5"><font color='red'>*</font>主题：</td>
            <td width="22%" height="31" align="left" bgcolor="#f5f5f5" colspan="5">
            <input name="reportVo.topic" type="text" id="topic" size="105">
            </td>
          </tr>
          <tr>
            <td width="10%" height="31" align="right" bgcolor="#f5f5f5"><font color='red'>*</font>内容：</td>
            <td width="22%" height="31" align="left" bgcolor="#f5f5f5" colspan="5">
            <textarea name="reportVo.message" id="message" rows="5" cols="80"></textarea>
            </td>
          </tr>
          <tr>
            <td width="15%" height="31" align="right" bgcolor="#f5f5f5"><font color='red'>*</font>身份证正面：</td>
            <td width="35%" height="31" align="left" bgcolor="#f5f5f5" colspan="2">
            	<input name="idcardpic" type="file" id="idcardpic" size="30">
            </td>
            <td width="15%" height="31" align="right" bgcolor="#f5f5f5"><font color='red'>*</font>身份证反面：</td>
            <td width="35%" height="31" align="left" bgcolor="#f5f5f5" colspan="2">
            	<input name="idcardbakpic" type="file" id="idcardbakpic"  size="30">
            </td>
          </tr>
          <tr>
            <td width="15%" height="31" align="right" bgcolor="#f5f5f5"><font color='red'>*</font>行车证：</td>
            <td width="35%" height="31" align="left" bgcolor="#f5f5f5" colspan="2">
            	<input name="drivercardpic" type="file" id="drivercardpic" size="30">
            </td>
            <td width="15%" height="31" align="right" bgcolor="#f5f5f5"><font color='red'>*</font>行车证副本：</td>
            <td width="35%" height="31" align="left" bgcolor="#f5f5f5" colspan="2">
            	<input name="drivercardbakpic" type="file" id="drivercardbakpic"  size="30">
            </td>
          </tr>
          <tr>
            <td width="15%" height="31" align="right" bgcolor="#f5f5f5"><font color='red'>*</font>车辆照片（前45度）：</td>
            <td width="35%" height="31" align="left" bgcolor="#f5f5f5" colspan="2">
            	<input name="carpic" type="file" id="carpic" size="30">
            </td>
            <td width="15%" height="31" align="right" bgcolor="#f5f5f5"><font color='red'>*</font>车辆照片（后45度）：</td>
            <td width="35%" height="31" align="left" bgcolor="#f5f5f5" colspan="2">
            	<input name="carbakpic" type="file" id="carbakpic"  size="30">
            </td>
          </tr>
          
        </table>
          <table width="40%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td height="50" align="center" colspan="3">
              <input type="submit" name="button" id="button" value=" 提 交 " onclick="return check();">
              </td>
            </tr>
          </table></td>
        <td width="1" bgcolor="#e1e1e2"></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="5" height="5"><img src="<%=path %>/images/019.jpg" width="5" height="5"></td>
        <td width="100%" height="5" class="bg_002"></td>
        <td width="5" height="5"><img src="<%=path %>/images/020.jpg" width="5" height="5"></td>
      </tr>
    </table></td>
  </tr>
</table>
</form>
<table width="603" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="26">&nbsp;</td>
  </tr>
</table>
</body>

</html>